package com.baidu.springboot_10_simpledemo.service;

import com.baidu.springboot_10_simpledemo.domain.Emp;
import com.baidu.springboot_10_simpledemo.domain.PageBean;

import java.util.List;

public interface EmpService {
    public PageBean<Emp> findAll(PageBean<Emp> pageBean,Emp emp);//分页查询所有员工+复杂查询
    public void addEmp(Emp emp); //添加员工
    public Emp findById(Integer id);//根据id查询用户
    public void updateEmp(Emp emp);//更新用户
    public void deleteEmp(Integer id);//删除用户
    public void delSelected(String[] ids);//批量删除用户
}
